package Restudy;

public class twoDArray 
{
	int[][] tdArray = new int[5][5];
	public static void main(String[] args) 
	{
		twoDArray array = new twoDArray();
		int a=0;
		for(int i=0;i<5;i++)
		{
			for(int j=0;j<5;j++)
			{
				a=a+1;
				array.tdArray[i][j] = a;
				System.out.print(array.tdArray[i][j]+" ");
			}
			System.out.println("");
		}
	}
}
